//
//  PartTemplateSpecilizationPoint.hpp
//  learnC++
//
//  Created by liuzhibing on 2018/6/21.
//  Copyright © 2018年 yunfan.com. All rights reserved.
//

#ifndef PartTemplateSpecilizationPoint_hpp
#define PartTemplateSpecilizationPoint_hpp

#include <stdio.h>
#include <iostream>

//因为指针的话存在浅复制问题
//指定char *类型
template <class T>
class Storage4 {
private:
    T m_value;
    
public:
    
    Storage4(T value){
        m_value = value;
    }
    
    ~Storage4(){}
    
    void print(){
        std::cout << m_value << "\n";
    }
};









#endif /* PartTemplateSpecilizationPoint_hpp */
